//
//  UIFont+BRFont.m
//  BrezzeSaaS
//
//  Created by IOS on 2021/8/30.
//  Copyright © 2021 Brezze GWG. All rights reserved.
//

#import "UIFont+BRFont.h"

//static NSString * const fontRegularName = @"1";
//static NSString * const fontMediumName = @"Poppins-Medium";
//static NSString * const fontSemiboldName = @"Poppins-SemiBold";
//static NSString * const fontBoldName = @"Poppins-Bold";
//static NSString * const fontExtraLightName = @"Poppins-ExtraLight";

@implementation UIFont (BRFont)

+ (UIFont *)fontR:(CGFloat)size {
    return [UIFont systemFontOfSize:size weight:UIFontWeightRegular];
}

+ (UIFont *)fontM:(CGFloat)size {
    return [UIFont systemFontOfSize:size weight:UIFontWeightMedium];
}

+ (UIFont *)fontS:(CGFloat)size {
    return [UIFont systemFontOfSize:size weight:UIFontWeightSemibold];
}

+ (UIFont *)fontB:(CGFloat)size {
    return [UIFont systemFontOfSize:size weight:UIFontWeightBold];
}

+ (UIFont *)fontH:(CGFloat)size {
    return [UIFont systemFontOfSize:size weight:UIFontWeightHeavy];
}

+ (UIFont *)fontE:(CGFloat)size {
    return [UIFont systemFontOfSize:size weight:UIFontWeightThin];
}

+ (UIFont *)br_fontR:(CGFloat)size {
//    return [UIFont fontWithName:fontRegularName size:size];
    return [UIFont fontR:size];
}

+ (UIFont *)br_fontM:(CGFloat)size {
//    return [UIFont fontWithName:fontMediumName size:size];
    return [UIFont fontM:size];
}

+ (UIFont *)br_fontS:(CGFloat)size {
//    return [UIFont fontWithName:fontSemiboldName size:size];
    return [UIFont fontS:size];
}

+ (UIFont *)br_fontB:(CGFloat)size {
//    return [UIFont fontWithName:fontBoldName size:size];
    return [UIFont fontB:size];
}

+ (UIFont *)br_fontE:(CGFloat)size {
//    return [UIFont fontWithName:fontExtraLightName size:size];
    return [UIFont fontE:size];
}


@end
